package com.cskaoyan.configuration;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Controller;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;

/**
 * @Aurhor: 11437
 * @DATE: 2022/10/9 16:00
 * @Description:用来代替listener初始化的容器xml文件,初始化除了controller层的所有组件
 * @Version 1.0
 */
@Configuration
@ComponentScan(value = "com.cskaoyan",
        excludeFilters = {@ComponentScan.Filter({Controller.class, EnableWebMvc.class})})
public class SpringConfiguration {
}
